#include "CEUtilities.h"

#include "CEFile.h"


//----------------------------------------------------------------------
CEFile::CEFile()
{
}



//----------------------------------------------------------------------
CEFile::~CEFile()
{
}


//----------------------------------------------------------------------
BOOL CEFile::IsFileExist(STRING path)
{
	HANDLE h = CreateFile(path.c_str(),
						  GENERIC_READ,
						  FILE_SHARE_READ,
						  NULL,
						  OPEN_EXISTING,
						  0,
						  NULL);
	
	CloseHandle(h);

	return INVALID_HANDLE_VALUE != h;
}